package by.abolut.carpool.domain;


import by.abolut.carpool.base.Id;

/**
 * Created by Andrey on 01.10.2014.
 */
public class Car {

    @Id
    private long id;

    private String name;
    private CarClass carClass;
    private Integer maxSpNeed;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public CarClass getCarClass() {
        return carClass;
    }

    public void setCarClass(CarClass carClass) {
        this.carClass = carClass;
    }

    public Integer getMaxSpNeed() {
        return maxSpNeed;
    }

    public void setMaxSpNeed(Integer maxSpNeed) {
        this.maxSpNeed = maxSpNeed;
    }

}
